package com.anjie.powerproject.pojo.dto;

import javax.persistence.Column;
import java.util.Date;

public class ModelDTO {
    private Integer id;

    private String deviceCode;

    private String pointName;

    private Integer pointId;

    private Integer type;

    private String modelName;

    private String modelInfo;

    private String modelPath;

    private Date createTime;

    private Integer isUsed;

    private Integer status;

    private String dataPath;

    private String errInfo;

    private Integer isJoin;

    private String joinPath;

    private String modelVersion;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public Integer getPointId() {
        return pointId;
    }

    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelInfo() {
        return modelInfo;
    }

    public void setModelInfo(String modelInfo) {
        this.modelInfo = modelInfo;
    }

    public String getModelPath() {
        return modelPath;
    }

    public void setModelPath(String modelPath) {
        this.modelPath = modelPath;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(Integer isUsed) {
        this.isUsed = isUsed;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDataPath() {
        return dataPath;
    }

    public void setDataPath(String dataPath) {
        this.dataPath = dataPath;
    }

    public String getErrInfo() {
        return errInfo;
    }

    public void setErrInfo(String errInfo) {
        this.errInfo = errInfo;
    }

    public Integer getIsJoin() {
        return isJoin;
    }

    public void setIsJoin(Integer isJoin) {
        this.isJoin = isJoin;
    }

    public String getJoinPath() {
        return joinPath;
    }

    public void setJoinPath(String joinPath) {
        this.joinPath = joinPath;
    }

    public String getModelVersion() {
        return modelVersion;
    }

    public void setModelVersion(String modelVersion) {
        this.modelVersion = modelVersion;
    }

    public ModelDTO(){}

    public ModelDTO(Integer id, String deviceCode, String pointName, Integer pointId, Integer type, String modelName, String modelInfo, String modelPath, Date createTime, Integer isUsed, Integer status, String dataPath, String errInfo, Integer isJoin, String joinPath, String modelVersion) {
        this.id = id;
        this.deviceCode = deviceCode;
        this.pointName = pointName;
        this.pointId = pointId;
        this.type = type;
        this.modelName = modelName;
        this.modelInfo = modelInfo;
        this.modelPath = modelPath;
        this.createTime = createTime;
        this.isUsed = isUsed;
        this.status = status;
        this.dataPath = dataPath;
        this.errInfo = errInfo;
        this.isJoin = isJoin;
        this.joinPath = joinPath;
        this.modelVersion = modelVersion;
    }

    @Override
    public String toString() {
        return "modelDTO{" +
                "id=" + id +
                ", deviceCode='" + deviceCode + '\'' +
                ", pointName='" + pointName + '\'' +
                ", pointId=" + pointId +
                ", type=" + type +
                ", modelName='" + modelName + '\'' +
                ", modelInfo='" + modelInfo + '\'' +
                ", modelPath='" + modelPath + '\'' +
                ", createTime=" + createTime +
                ", isUsed=" + isUsed +
                ", status=" + status +
                ", dataPath='" + dataPath + '\'' +
                ", errInfo='" + errInfo + '\'' +
                ", isJoin=" + isJoin +
                ", joinPath='" + joinPath + '\'' +
                ", modelVersion='" + modelVersion + '\'' +
                '}';
    }
}
